import { ILoginState } from './login/types'
import { ISystemState } from './system/types'
import { IDashboardState } from './analysis/types'

export interface IRootStore {
  entireDepartment: []
  entireRole: []
  entireMenu: []
}

export interface IRootWithModule {
  login: ILoginState
  system: ISystemState
  dashboard: IDashboardState
}

// 交叉类型或者类型
export type IStoreType = IRootStore & IRootWithModule
